package com.study.tree;

/**
 * - *@ClassName TreeNode
 * - *@Author LiuHuaBing
 * - *@Date 2021/12/13 15:12
 * - *@Version 1.0
 */
public class TreeNode<V> {

    TreeNode left;
    TreeNode right;
    V value;

    TreeNode(V v){
        this.value = v;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "value=" + value +
                '}';
    }
}
